﻿///<reference path="utCommon.js" />
///<reference path="../string.prototype.extension.js" />
function test() {
    var testText = " Rynn Wang ";

    utFramework.appendResult("trim", testText.trim() == "Rynn Wang");
    utFramework.appendResult("equals", testText.equals(" Rynn Wang ") == true);
    utFramework.appendResult("equals", testText.equals(" Rynn wang ") == false);
    utFramework.appendResult("equals", testText.equals(" Rynn wang ", true) == true);
    utFramework.appendResult("equals", testText.equals(" Rynn wang", true, true) == true);
    utFramework.appendResult("equals", testText.equals("rynn wang", true, true) == true);
}